﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EnterpriseList.aspx.cs"
    Inherits="MaluJg.web.Move.EnterpriseList" %>

<%@ Register Src="~/Common/MovePager.ascx" TagName="MPager" TagPrefix="wsc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>
        <%=Year %>年动迁企业汇总表</title>
    <link href="../Style/CSS/css.css" rel="stylesheet" type="text/css" />

   

    <script type="text/javascript" src="../Scripts/jquery.js"></script>
 <script type="text/javascript" src="../DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="../Scripts/common.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <table cellspacing="0" cellpadding="0" border="0" class="" width="100%">
        <tr class="TitleBar">
            <td class="MainTitle">
                <%=Year %>年动迁企业汇总表
            </td>
        </tr>
    </table>
    <table cellspacing="0" cellpadding="0" border="0" class="" width="100%">
        <tr class="ToolBar">
            <td align="left" width="200">
                &nbsp;&nbsp; 年份：
                <input type="text" class="WSCL_Input" readonly="readonly" id="iYear" name="iYear"
                    value="<%=Year %>" onclick="WdatePicker({dateFmt:'yyyy',onpicked:pickedFunc})" />
            </td>
        </tr>
    </table>
    <div id="divMain">
        <table class="MainInfolist" cellspacing="0" cellpadding="0" id="tblList" align="center"
            width="100%">
            <tbody>
                <tr class="PageGridHeader">
                    <td width="30">
                        序号
                    </td>
                    <td>
                        企业名称
                    </td>
                    <td width="100">
                        土地面积（亩）
                    </td>
                    <td width="100">
                        土地性质
                    </td>
                    <td colspan="2" width="200">
                        建筑面积（㎡）
                    </td>
                    <td width="100">
                        地址/地块
                    </td>
                    <td width="100">
                        备注
                    </td>
                </tr>
                <asp:Repeater runat="server" ID="rptList">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%# Container.ItemIndex + 1 %>
                            </td>
                            <td>
                                <%#Eval("EnterpriseName")%>
                            </td>
                            <td>
                                <%#Eval("TuDiSquares")%>
                            </td>
                            <td>
                                <%#Eval("TuDiXingZhi")%>
                            </td>
                            <td>
                                <%#Eval("JianZhuMianJi1")%>
                            </td>
                            <td>
                                <%#Eval("JianZhuMianJi2")%>
                            </td>
                            <td>
                                <%#Eval("Place")%>
                            </td>
                            <td>
                                <%#Eval("ReMark")%>
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </tbody>
        </table>
    </div>
    <wsc:MPager ID="pgList" runat="server" OnPreRender="pgList_OnPreRender" />

    <script>        function PageResize() {
            var height = document.getElementById('tblList').clientHeight;
            var MainFrame = document.getElementById("divMain");
            var _height = document.documentElement.clientHeight;
            if (_height < height + 100)
                _height = height + 100;
            MainFrame.style.height = _height - 100 + "px";

        }
        PageResize();
        window.onresize = PageResize;
        
    </script>

    </form>
</body>
</html>
